Optimal. Leaf size=104 \[ -\frac {1}{3 x^3}+\frac {\log \left (x^2-\sqrt {2} x+1\right )}{8 \sqrt {2}}-\frac {\log \left (x^2+\sqrt {2} x+1\right )}{8 \sqrt {2}}+\frac {1}{4} \tan ^{-1}(x)+\frac {\tan ^{-1}\left (1-\sqrt {2} x\right )}{4 \sqrt {2}}-\frac {\tan ^{-1}\left (\sqrt {2} x+1\right )}{4 \sqrt {2}}+\frac {1}{4} \tanh ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 104, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 11, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.846, Rules used = {325, 301, 211, 1165, 628, 1162, 617, 204, 212, 206, 203} \[ -\frac {1}{3 x^3}+\frac {\log \left (x^2-\sqrt {2} x+1\right )}{8 \sqrt {2}}-\frac {\log \left (x^2+\sqrt {2} x+1\right )}{8 \sqrt {2}}+\frac {1}{4} \tan ^{-1}(x)+\frac {\tan ^{-1}\left (1-\sqrt {2} x\right )}{4 \sqrt {2}}-\frac {\tan ^{-1}\left (\sqrt {2} x+1\right )}{4 \sqrt {2}}+\frac {1}{4} \tanh ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 204
Rule 206
Rule 211
Rule 212
Rule 301
Rule 325
Rule 617
Rule 628
Rule 1162
Rule 1165
Rubi steps
\begin {align*} \int \frac {1}{x^4 \left (1-x^8\right )} \, dx &=-\frac {1}{3 x^3}+\int \frac {x^4}{1-x^8} \, dx\\ &=-\frac {1}{3 x^3}+\frac {1}{2} \int \frac {1}{1-x^4} \, dx-\frac {1}{2} \int \frac {1}{1+x^4} \, dx\\ &=-\frac {1}{3 x^3}+\frac {1}{4} \int \frac {1}{1-x^2} \, dx+\frac {1}{4} \int \frac {1}{1+x^2} \, dx-\frac {1}{4} \int \frac {1-x^2}{1+x^4} \, dx-\frac {1}{4} \int \frac {1+x^2}{1+x^4} \, dx\\ &=-\frac {1}{3 x^3}+\frac {1}{4} \tan ^{-1}(x)+\frac {1}{4} \tanh ^{-1}(x)-\frac {1}{8} \int \frac {1}{1-\sqrt {2} x+x^2} \, dx-\frac {1}{8} \int \frac {1}{1+\sqrt {2} x+x^2} \, dx+\frac {\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx}{8 \sqrt {2}}+\frac {\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx}{8 \sqrt {2}}\\ &=-\frac {1}{3 x^3}+\frac {1}{4} \tan ^{-1}(x)+\frac {1}{4} \tanh ^{-1}(x)+\frac {\log \left (1-\sqrt {2} x+x^2\right )}{8 \sqrt {2}}-\frac {\log \left (1+\sqrt {2} x+x^2\right )}{8 \sqrt {2}}-\frac {\operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt {2} x\right )}{4 \sqrt {2}}+\frac {\operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt {2} x\right )}{4 \sqrt {2}}\\ &=-\frac {1}{3 x^3}+\frac {1}{4} \tan ^{-1}(x)+\frac {\tan ^{-1}\left (1-\sqrt {2} x\right )}{4 \sqrt {2}}-\frac {\tan ^{-1}\left (1+\sqrt {2} x\right )}{4 \sqrt {2}}+\frac {1}{4} \tanh ^{-1}(x)+\frac {\log \left (1-\sqrt {2} x+x^2\right )}{8 \sqrt {2}}-\frac {\log \left (1+\sqrt {2} x+x^2\right )}{8 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 104, normalized size = 1.00 \[ \frac {1}{48} \left (-\frac {16}{x^3}+3 \sqrt {2} \log \left (x^2-\sqrt {2} x+1\right )-3 \sqrt {2} \log \left (x^2+\sqrt {2} x+1\right )-6 \log (1-x)+6 \log (x+1)+12 \tan ^{-1}(x)+6 \sqrt {2} \tan ^{-1}\left (1-\sqrt {2} x\right )-6 \sqrt {2} \tan ^{-1}\left (\sqrt {2} x+1\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 138, normalized size = 1.33 \[ \frac {12 \, \sqrt {2} x^{3} \arctan \left (-\sqrt {2} x + \sqrt {2} \sqrt {x^{2} + \sqrt {2} x + 1} - 1\right ) + 12 \, \sqrt {2} x^{3} \arctan \left (-\sqrt {2} x + \sqrt {2} \sqrt {x^{2} - \sqrt {2} x + 1} + 1\right ) - 3 \, \sqrt {2} x^{3} \log \left (x^{2} + \sqrt {2} x + 1\right ) + 3 \, \sqrt {2} x^{3} \log \left (x^{2} - \sqrt {2} x + 1\right ) + 12 \, x^{3} \arctan \relax (x) + 6 \, x^{3} \log \left (x + 1\right ) - 6 \, x^{3} \log \left (x - 1\right ) - 16}{48 \, x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 95, normalized size = 0.91 \[ -\frac {1}{8} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (2 \, x + \sqrt {2}\right )}\right ) - \frac {1}{8} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (2 \, x - \sqrt {2}\right )}\right ) - \frac {1}{16} \, \sqrt {2} \log \left (x^{2} + \sqrt {2} x + 1\right ) + \frac {1}{16} \, \sqrt {2} \log \left (x^{2} - \sqrt {2} x + 1\right ) - \frac {1}{3 \, x^{3}} + \frac {1}{4} \, \arctan \relax (x) + \frac {1}{8} \, \log \left ({\left | x + 1 \right |}\right ) - \frac {1}{8} \, \log \left ({\left | x - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 79, normalized size = 0.76 \[ \frac {\arctan \relax (x )}{4}-\frac {\sqrt {2}\, \arctan \left (\sqrt {2}\, x -1\right )}{8}-\frac {\sqrt {2}\, \arctan \left (\sqrt {2}\, x +1\right )}{8}-\frac {\sqrt {2}\, \ln \left (\frac {x^{2}+\sqrt {2}\, x +1}{x^{2}-\sqrt {2}\, x +1}\right )}{16}-\frac {\ln \left (x -1\right )}{8}+\frac {\ln \left (x +1\right )}{8}-\frac {1}{3 x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.35, size = 93, normalized size = 0.89 \[ -\frac {1}{8} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (2 \, x + \sqrt {2}\right )}\right ) - \frac {1}{8} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (2 \, x - \sqrt {2}\right )}\right ) - \frac {1}{16} \, \sqrt {2} \log \left (x^{2} + \sqrt {2} x + 1\right ) + \frac {1}{16} \, \sqrt {2} \log \left (x^{2} - \sqrt {2} x + 1\right ) - \frac {1}{3 \, x^{3}} + \frac {1}{4} \, \arctan \relax (x) + \frac {1}{8} \, \log \left (x + 1\right ) - \frac {1}{8} \, \log \left (x - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.04, size = 50, normalized size = 0.48 \[ \frac {\mathrm {atan}\relax (x)}{4}-\frac {1}{3\,x^3}-\frac {\mathrm {atan}\left (x\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{4}+\sqrt {2}\,\mathrm {atan}\left (\sqrt {2}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {1}{8}-\frac {1}{8}{}\mathrm {i}\right )+\sqrt {2}\,\mathrm {atan}\left (\sqrt {2}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (-\frac {1}{8}+\frac {1}{8}{}\mathrm {i}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________